<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2018/12/3
 * Time: 14:11
 */

namespace app\api\model;


use think\facade\Config;
use think\Model;

class BaseModel extends Model
{
    public function getImgUrlAttr($value)
    {
        $value = Config::get('host.host').$value;
        return $value;
    }
}